module UsersHelper
  def edit_link(annoration_id, login)
    "[<a class=\"s-edit-link\" href=\"/annorations/edit/#{annoration_id}?redirect=/users/annorations/#{login}\">edit</a>]" if @authorized_to_edit
  end
end
